﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Erebos.GameScreenFiles.WorldObjects
{
    class HouseObject : Object
    {
        private Vector3 _position;
        private Model _model;

        public HouseObject(Vector3 position)
        {
            _position = position;
            _model = MainGame.LoadContent<Model>("objects/testHouse");
        }

        public override void Draw(GameTime gameTime)
        {
            _model.Draw(Matrix.CreateTranslation(new Vector3(_position.X, _position.Y, -_position.Z)), Camera.ViewMatrix, Camera.ProjectionMatrix);
            base.Draw(gameTime);
        }
    }
}
